﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;

namespace Lawyer.Web.Common
{
    public class MessageBox
    {
        public static void ShowSuccess(Control control,string msg)
        {
            ScriptManager.RegisterStartupScript(control, control.GetType(), "tips", "showSuccess(" + msg + ");", true);
        }
        public static void ShowFail(Control control, string msg)
        {
            ScriptManager.RegisterStartupScript(control, control.GetType(), "tips", "showFail(" + msg + ");", true);
        }
    }
}
